import request from '@/utils/request'

// 查询appUser列表
export function listAppUser(query) {
    return request({
        url: '/app/appUser/list',
        method: 'get',
        params: query
    })
}

// 查询appUser详细
export function getAppUser(id) {
    return request({
        url: '/app/appUser/' + id,
        method: 'get'
    })
}

// 新增appUser
export function addAppUser(data) {
    return request({
        url: '/app/appUser',
        method: 'post',
        data: data
    })
}

// 修改appUser
export function updateAppUser(data) {
    return request({
        url: '/app/appUser',
        method: 'put',
        data: data
    })
}

// 删除appUser
export function delAppUser(id) {
    return request({
        url: '/app/appUser/' + id,
        method: 'delete'
    })
}
